package cn.zhaoyuening.crm.utils;

import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;

public class MyStreamUtils {
	public static void input2output(InputStream in,OutputStream out) throws IOException{
		byte[] buf = new byte[1024];
		int len = 0;
		while((len=in.read(buf))>0){
			out.write(buf, 0, len);
		}
	}
}
